//
//  ShopperModel.m
//  wtshoppingcite
//
//  Created by TW on 15-1-19.
//  Copyright (c) 2015年 TW. All rights reserved.
//

#import "ShopperModel.h"

@implementation ShopperModel

- (id)initWithShopperInfo:(NSDictionary *)info{
    
    if(self = [super init]){
        id addr = [info objectForKey:@"addr"];
        self.addr = ObjToString(addr);
        
        id bizEndtime = [info objectForKey:@"bizEndtime"];
        self.bizEndtime = ObjToString(bizEndtime);
        
        id bizStarttime = [info objectForKey:@"bizStarttime"];
        self.bizStarttime = ObjToString(bizStarttime);
        
        id deliveryPrice = [info objectForKey:@"deliveryPrice"];
        self.deliveryPrice = ObjToString(deliveryPrice);
        
        id hint = [info objectForKey:@"hint"];
        self.hint = ObjToString(hint);
        
        id level = [info objectForKey:@"level"];
        self.level = ObjToString(level);
        
        id logoPath = [info objectForKey:@"logoPath"];
        self.logoPath = ObjToString(logoPath);
        
        id shopId = [info objectForKey:@"shopId"];
        self.shopId = ObjToString(shopId);
        
        id shopName = [info objectForKey:@"shopName"];
        self.shopName = ObjToString(shopName);
        
        id telepone = [info objectForKey:@"telepone"];
        self.telepone = ObjToString(telepone);
    }
    return self;
}
@end
